package com.ayou.eggguard.farm.mapper;

import com.ayou.eggguard.farm.pojo.RelatedDrug;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RelatedDrugMapper {

    @Insert("insert into related_drug(method_name, drug_name, dosage, medication_usage, medication_measure, medication_unit) " +
            "values (#{methodName},#{drugName},#{dosage},#{medicationUsage},#{medicationMeasure},#{medicationUnit})")
    void add(RelatedDrug relatedDrug);
}
